# /usr/bin/env python3.6
# -*- encoding: utf-8 -*-
"""
@File    : utils.py
@Time    : 2020/2/7 0007 09:20
@Author  : zhangbing
@Email   : 18829172841@163.com
@Software: PyCharm
"""
import uuid

from App.ext import cache

'''
此处用于生成固定前缀的token
'''


def create_prefix_token(prefix=None):
    to = uuid.uuid4().hex
    token = prefix + '-' + to
    return token


if __name__ == "__main__":
    pass
